﻿using System;
using UnityEditor;

namespace ProjScan.ScanRuleFixer.Utils
{
	// Token: 0x020002B1 RID: 689
	public class Audio
	{
		// Token: 0x060011D7 RID: 4567 RVA: 0x00053E0C File Offset: 0x0005200C
		public static AudioImporterSampleSettings GetAudioSampleSetting(AudioImporter imp)
		{
			string currentPlatform = Tools.GetCurrentPlatform();
			AudioImporterSampleSettings result = imp.defaultSampleSettings;
			bool flag = imp.ContainsSampleSettingsOverride(currentPlatform);
			if (flag)
			{
				result = imp.GetOverrideSampleSettings(currentPlatform);
			}
			return result;
		}
	}
}
